//
//  MapDesElementsModel.m
//  LZMPro
//
//  Created by dllo on 15/11/7.
//  Copyright © 2015年 LZS. All rights reserved.
//

#import "MapDesElementsModel.h"
#import "MapDesCItyModel.h"
@implementation MapDesElementsModel

-(void)setData:(NSMutableArray *)data
{
    
    _data = [NSMutableArray arrayWithArray:data];
    
   
    for ( int i = 0;  i < _data.count; i ++) {
        
        NSDictionary *dic =  _data[i];
        
        MapDesCItyModel *model = [[MapDesCItyModel alloc]init];
        
        [model setValuesForKeysWithDictionary:dic];
        
        [_data replaceObjectAtIndex:i withObject:model];
        
        
    }

    
}

@end
